Reference picture prediction for video coding

ABSTRACT

A video coder includes a forward coder and a reconstruction module determining a motion compensated predicted picture from one or more previously decoded pictures in a multi-picture store. The reconstruction module includes a reference picture predictor that uses only previously decoded pictures to determine one or more predicted reference pictures. The predicted reference picture(s) are used for motion compensated prediction. The reference picture predictor may include optical flow analysis that uses a current decoded picture and that may use one or more previously decoded pictures together with affine motion analysis and image warping to determine at least a portion of at least one of the reference pictures.

FIELD OF THE INVENTION

The current disclosure relates generally to video compression.

BACKGROUND

Video coding, called video compression, is known, and typically includesboth intra-coding using only a currently encoded picture (the “currentpicture”), typically a video frame, and inter-coding, which encodes thedifference between the current picture and a predicted picturedetermined from the current picture and one or more previouslyencountered pictures, called reference pictures that are typicallydecoded versions of previously encoded pictures. Motion compensatedpredictive coding (MCPC) improves the predicted picture by using motioncompensated prediction (MPC) including determining motion vectorsbetween one or more selected reference pictures and the current pictureto reduce the difference between the current picture and the predictionthereof. Such methods have been improved upon over the years. Thecurrent H.264/AVC standard, for example, includes a long-term referencememory (LTRM) to extend MCP to multiple reference pictures—pictures inthis context are usually video pictures—including both recently-codedand selected older pictures. While the predicted picture is improved,additional bits are required to be transmitted. MCPC can further beimproved using affine motion compensation—determining how portions ofone or more reference pictures can be warped to improve the prediction.This uses affine motion estimation between the current picture and oneor more previously decoded pictures. When combined with LTRM, amulti-picture buffer is extended to include warped versions of thepreviously decoded picture(s) in correspondence to estimated affinemotion parameters. Because affine motion estimation is performed at theencoding side, the affine motion parameters need to be transmitted asside information to enable correct decoding. This, like using LTRM,requires more bits to be transmitted.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1A shows a simplified block diagram of an embodiment of a codingapparatus that includes one or more features of the present inventionand that is configured to implement a video coding method that includesone or more features of the present invention.

FIG. 1B shows an implementation of coding apparatus as a codingprocessing system that includes one or more processors coupled to astorage system, and a decoding apparatus as a decoding processing systemthat includes one or more processors coupled to a storage system. Codingand/or decoding performed in the systems of FIG. 1B include one or morefeatures of the present invention.

FIG. 2 shows a simplified block diagram of an embodiment of a novelmotion compensated predictive coder.

FIG. 3 shows a simplified block diagram of an embodiment of a novelmotion compensated predictive decoder, e.g., that can decode a bitstreamproduced by the coder of FIG. 2.

FIG. 4 shows a flowchart describing a coding method embodiment thatincludes one or more features of the current invention.

FIG. 5 shows a block diagram of one embodiment of a reference picturepredictor that includes one or more features of the current invention.

FIG. 6 shows one embodiment of an intra-picture optical flow determinerthat for example determines possible motion based on only the currentdecoded picture and that can be used in the reference picture predictorof FIG. 5.

DESCRIPTION OF EXAMPLE EMBODIMENTS Overview

Embodiments of the current invention relate to video coding using one ormore reference pictures that are constructed from past decoded picturesand other information that is available at a decoder, so that minimalside information needs to be transmitted to a decoder or stored forlater decoding.

A video coder includes a forward coder configured to accept a currentpicture and configured to determine quantized transform coefficients ofa difference picture, and a reconstruction module configured todetermine a predicted picture from the quantized coefficients and fromone or more previously decoded pictures in a multi-picture store. Thereconstruction module includes a reference picture predictor thatsynthesizes one or more predicted reference pictures using onlypreviously decoded picture(s). The one or more predicted referencepictures are used for motion compensated prediction. One embodiment ofthe reference picture predictor includes optical flow analysis that usesa current decoded picture and that may use one or more previouslydecoded pictures together with affine motion analysis and image warpingto determine at least a portion of at least one of the referencepictures. One embodiment further includes for portion(s) uncovered bythe affine motion analysis prediction of the uncovered portion(s) basedon prediction using one or more previously decoded pictures, e.g., fromthe multi-picture store, such that at least one predicted referencepicture includes the uncovered region predicted using the previouslydecoded picture(s) and the portion(s) determined by the optical flowanalysis. One embodiment of the optical flow analysis includesintra-picture optical flow analysis to predict motion in picture partsof a current decoded picture combined with affine motion analysis andimage warping to determine at least a portion of at least one of thereference pictures. One embodiment of the optical flow analysis includesinter-picture optical flow analysis using the current decoded pictureand one or more previously decoded pictures to predict motion in pictureparts combined with affine motion analysis and image warping todetermine at least a second portion of at least one of the referencepictures. One embodiment combines inter-picture optical flow analysisand intra-picture optical flow analysis. In one embodiment, themulti-picture store includes a buffer of one or more predicted referencepictures.

Particular embodiments include a method comprising accepting a currentpicture for decoding, determining blocks of a difference picture fromthe accepted current picture and motion compensated predicted pictureblocks, and transforming and quantizing the blocks of a differencepicture to determine quantized transform coefficients being forinclusion in a coded bitstream. The method also comprises predicting oneor more predicted reference pictures using one or more previouslydecoded pictures stored in a multi-picture store and the quantizedtransform coefficients; and determining the motion compensated predictedpicture blocks and motion vectors therefor from the quantized transformcoefficients and at least one of the predicted reference pictures. Thedetermined motion vectors are for inclusion in the coded bitstream.Determining a motion compensated predicted picture block includessearching through the predicted reference pictures to determine aselected predicted reference picture for the block. The predicting oneor more predicted reference pictures may include optical flow analyzingthat uses a current decoded picture and that may use one or morepreviously decoded pictures to predict motion in a set of one or moreparts of a current decoded picture, combined with affine motionanalyzing and image warping for determining at least a portion of atleast one predicted reference picture. Affine motion parametersdetermined by the affine motion analysis need not be transmitted to adecoder or stored for later decoding.

Particular embodiments include an apparatus comprising an input moduleconfigured to accept a coded bitstream and to generate quantizedtransform coefficients and motion vectors from the coded bitstream. Theapparatus also comprises an inverse quantizer/inverse transformerconfigured to accept the quantized coefficients and generate a decodeddifference picture, and a summer configured to determine a decodedpicture from a motion compensated predicted picture and the decodeddifference picture. The apparatus further comprises a multi-picturestore for storing previously decoded pictures, and a reference picturepredictor coupled to the multi-picture store and configured to determineone or more predicted reference pictures using one or more previouslydecoded pictures. The apparatus further comprises a motion compensatedpredictor configured to determine the motion compensated predictionpicture from one or a plurality of the one or more predicted referencepictures, and the motion vectors. The reference picture predictor mayinclude an optical flow analyzer that uses a current decoded picture andthat may use one or more previously decoded pictures to predict motionin a first set of one or more parts of a current decoded picture,combined with affine motion analysis and image warping to determine atleast a portion of at least one reference picture.

Particular embodiments include an apparatus comprising one or moreprocessors and a storage subsystem including a multi-picture storeconfigured to store a plurality of pictures. The storage subsystem isfurther configured with a set of instructions that when executed by oneor more of the processors cause the apparatus to accept a currentpicture for decoding, determine blocks of a difference picture from theaccepted current picture and motion compensated predicted pictureblocks, and transform and quantize the blocks of a difference picture todetermine quantized transform coefficients being for inclusion in acoded bitstream. The set of instructions when executed further cause theapparatus to predict one or more predicted reference pictures using oneor more previously decoded pictures stored in a multi-picture store andthe quantized transform coefficients, and to determine the motioncompensated predicted picture blocks and motion vectors therefor fromthe quantized transform coefficients and at least one of the predictedreference pictures. The determined motion vectors are for inclusion inthe coded bitstream. Determining a motion compensated predicted pictureblock includes searching through the predicted reference pictures todetermine a selected predicted reference picture for the block. Thepredicting one or more predicted reference pictures may include opticalflow analyzing that uses a current decoded picture and that may use oneor more previously decoded pictures to predict motion in a set of one ormore parts of a current decoded picture, combined with affine motionanalyzing and image warping for determining at least a portion of atleast one predicted reference picture. Affine motion parametersdetermined by the affine motion analysis are not transmitted to adecoder or stored for later decoding.

Particular embodiments may provide all, some, or none of these aspects,features, or advantages. Particular embodiments may provide one or moreother aspects, features, or advantages, one or more of which may bereadily apparent to a person skilled in the art from the figures,descriptions, and claims herein.

Some Embodiments

FIG. 1A shows a simplified block diagram of an embodiment of a codingapparatus 101 configured to implement a video coding method includingaccepting video that includes a sequence of pictures and coding theaccepted video to generate a coded bitstream, and an embodiment of adecoding apparatus 121 configured to implement a video decoding methodincluding accepting a coded bitstream and decoding the coded bitstreamto generate decoded video that includes a sequence of decoded pictures.The two apparatuses are shown in FIG. 1A coupled via a communicationchannel 111. Such a channel 111 may be a network, e.g., a dedicatednetwork or a public network such as the Internet, or may be a dedicatedcommunication system. The coding apparatus 101 includes an embodiment ofa novel hybrid transform-based motion compensated predictive coder 103implementing a MCPC method that is configured to generate quantizedcoefficients and additional information that include motion vectors and,in the case of multiple reference pictures being used, any neededindication of which reference picture to use. One feature of embodimentsof the invention is that the reference picture used takes into accountaffine transformations, but that affine transformation parameters needto be sent. The coding apparatus 101 includes an entropycoder/multiplexer 105 configured to entropy encode the coefficients, toencode the additional information—the motion vectors—and to generate thecoded bitstream. The decoding apparatus 121 includes ademultiplexer/entropy decoder 125 configured to determine quantizedcoefficients and such additional information as motion vectors from acoded bitstream and an embodiment of a novel hybrid transform-basedmotion compensated predictive decoder 123 implementing a decoding methodmatched to the MCPC method of coder 103 and that is configured to decodethe determined quantized coefficients and such additional information asmotion vectors to generate decoded video.

More details of the coder 103 and decoder 123 are provided herein below.

Different embodiments of the coding apparatus 101 and of the decodingapparatus 121 may be implemented using special purpose hardware, andalternately using processing systems that include one or more processorssuch as one or more general purpose programmable computing devices,e.g., microprocessors, and/or using one or more digital signalprocessing (DSP) devices, and/or using one or more graphic processingunits (GPUs). Alternate embodiments also may use a combination ofspecial purpose hardware and one or more programmable devices such asmicroprocessors, DSPs and/or GPUs. Designing chips that include bothspecial purpose hardware and programmable devices is common using, forexample, cores that provide the programmable components as designs forchip portions. The invention therefore is not limited to any one suchimplementation.

The coding and decoding will be described in terms of a sequence ofpictures. The pictures may be frames, or in the case of interlacedvideo, fields. For simplicity, non-interlaced video is assumed so thateach picture is a frame. Any modifications required in the descriptionherein to accommodate interlaced video would be clear to one skilled inthe art, and the description herein is certainly not limited tonon-interlaced video.

FIG. 1B shows an implementation of coding apparatus 101 as a codingprocessing system 131 that includes one or more processors 133 coupledto a storage system 135. The storage subsystem 135 includes, forexample, memory. The storage subsystem includes instructions 139 thatwhen executed by the one or more processors 133 implement a novel MCPCmethod to generate quantized coefficients and additional informationsuch as motion vectors, and an entropy coder/multiplexing method togenerate a coded bitstream. The storage subsystem further includes amulti-picture store 137 configured to store previously decoded picturesand/or reference pictures used by the novel MCPC method. FIG. 1B alsoshows an implementation of decoding apparatus 121 as a decodingprocessing system 141 that includes one or more processors 143 coupledto a storage system 145. The storage subsystem 145 includes, forexample, memory one or more processors The storage subsystem 145includes instructions 149 that when executed by the one or moreprocessors 143 implement a novel MCP-based decoding method to determinequantized coefficients and the additional information such as motionvectors from a coded bitstream and a demultiplexing/entropy decodermethod to generate decoded video from quantized coefficients andadditional information such as motion vectors,. The storage subsystemfurther includes a multi-picture store 147 configured to storepreviously decoded pictures and/or reference pictures used by the novelMCP-based decoding method.

FIG. 2 shows a simplified block diagram of an embodiment of a novel MCPC103 including a difference picture determiner (a summer) to subtract aselected, e.g., best predicted picture denoted P_(n) from a currently tobe encoded picture denoted F_(n), e.g., a current video frame, where thesubscript n denotes the current picture, and “current” is used to denotecurrently being encoded or determined. The difference picture determinerdetermines a current difference picture denoted D_(n). The MCPC 103includes a forward coder 205—a transformer and quantizer module 205 togenerate current quantized transform coefficients denoted X_(n). TheMCPC 103 further includes a reconstruction module 231 (also called areconstruction loop) shown in broken lines configured to reconstruct thebest predicted picture denoted P_(n) from the quantized transformcoefficients denoted X_(n). The reconstruction module 231 includes aninverse quantizer and inverse transformer module 207 to determine adecoded current difference picture denoted D′_(n) where the prime isused to indicate decoded, and a summer to add the current predictedpicture P_(n) to decoded difference picture D′_(n) to determine a raw,unfiltered decoded picture, denoted uF′_(n,) where the u denotesunfiltered. The unfiltered decoded picture uF′_(n) is filtered by afilter 209, e.g., for reducing deblocking artifacts or other purpose(s)commonly used in block based coding to generate the current decodedpicture F′_(n). The reconstruction module 231 of novel MCPC 103 includesa multi-picture store 211 shown within dotted lines in FIG. 2 that has adecoded picture buffer 213 as part of a multi-picture store 21 landconfigured to store one or more previously decoded pictures denotedF′_(n-1), F′_(n-2), . . . , into which the current F′_(n) also isstored.

The coder also includes an intra prediction mode in which an intraprediction module 221 shown in the dashed-line block in FIG. 2 and thatuses the decoded picture uF′_(n) to predict the picture P_(n) to use fordetermining the difference picture D_(n).

Not shown in FIG. 2 are control modules or signals that deal with theselection of the prediction mode and other control signals. Otherdetails also are left out for the sake of simplicity of explanation.

One novel feature of the reconstruction module 231 is a referencepicture predictor 215 that is configured to determine one or a pluralityof predicted reference pictures from decoded pictures F′_(n) and one ormore decoded pictures from decoded picture buffer 213. The predictedreference pictures may be stored, although, so long as identical methodsof generating such pictures can operate in a matching decoder, suchstorage is not necessary. Thus, in some embodiments, the one or morepredicted reference pictures are stored in a predicted reference picturestore 217, e.g., that is part of the multi-picture store 211. Anothernovel feature is a multi-picture motion compensation predictor 219 thatis configured to determine a motion compensated prediction picture,including any needed motion parameters such as motion vectors from oneor a plurality of the predicted reference pictures 217. In particular,for any picture element, e.g., a block or macroblock or other pictureportion, the MCP of element 219 includes searching through the predictedreference pictures (and in some embodiments, the previously decodedpictures), e.g., searching the multi-picture store 211 to determine aselected, e.g., the best reference picture for each element, e.g., eachblock or macroblock.

The reference picture predictor 215 includes an optical flow analyzerthat in one embodiment uses intra-picture optical flow analysis on thecurrent decoded picture F′_(n) and inter-picture optical flow analysis,e.g., motion estimation for predicting pixel values of the movingregions using the current decoded picture and also one or morepreviously decoded pictures. Optical flow analyzer includes affinemotion analysis and reference picture warping to determine at least aportion of one or more predicted reference pictures. The referencepicture predictor 215 further is configured to use previously decodedpictures from the decoded picture buffer 213 to predict pixel values ofuncovered regions resulting from object motion.

Those in the art would be familiar with affine transformation. Suchtransformation preserve collinearity relation between points, i.e.,three points which lie on a line continue to be collinear after thetransformation, and further preserve relations of distances along aline. In general, an affine transform is composed of lineartransformations such as rotation, scaling and/or shear, and/or atranslation (a shift). Several such linear transformations can becombined into a single one and result in a single affine transformation.In common representations, an affine transformation is represented by aset of affine transformation parameters, also called affine motionparameters when applied to determining motion.

One feature of an embodiment of MCPC 103 is that affine motionestimation is used, but the affine motion parameters are not needed tobe sent to a decoder, so that no additional bits are needed for sendingaffine motion parameters. A decoder can create any needed affineparameters using the decoded past pictures and the information receivedfor decoding the current picture.

FIG. 3 shows a simplified block diagram of one embodiment of a MCPdecoder 123 that can decode a bitstream including quantized coefficientsX_(n) coded using the MCPC 103. The decoder 123 includes an input moduleconfigured to accept a coded bitstream and output quantized coefficientsX_(n) of a difference picture, motion vectors, and any needed referencepicture indication for decoding the bitstream. The MCP decoder 123further includes an inverse quantizer/inverse transformer module 307that determines a decoded difference picture D′_(n) from the currentlybeing decoded quantized coefficients X_(n). A summer adds a currentpredicted picture P_(n) to generate a decoded unfiltered picture uF′_(n)which is filtered by a filter module 309 to generate the current decodedpicture F′_(n)

The decoder 123 includes a multi-picture store 311 that includes adecoded pictures buffer 313 that can store one or more previouslydecoded pictures, and that is designed to match the structure of themulti-picture store 211 in the coder. The portion to generate the bestmotion predicted picture P_(n) includes the decoded pictures buffer 313configured to store previously decoded pictures denoted F′_(n-1),F′_(n-2), . . . , into which the current picture F′_(n) also is stored.One novel feature of the decoder 123 is a reference picture predictor315 that is configured to generate one or a plurality of predictedreference pictures from the current decoded picture F′_(n) and one ormore previously decoded pictures from the contents of the decodedpicture buffer 313. In the case that the coder uses pre-stored predictedreference pictures in a predicted reference picture store 217, oneembodiment of the decoder 123 may include a predicted reference picturestore 317, e.g., as part of multi-picture store 311 configured to storeand maintain one or a plurality of predicted reference pictures. One ormore previously predicted pictures are used with the motion vector(s)and any other indication sent to the decoder to determine the bestmotion compensated predicted picture by a multi-picture motioncompensated predictor 319. Of course, those in the art would understandthat so long as the predicted reference picture(s) used by themulti-picture motion compensated predictor 319 can be determined at thedecoder, there is no need for the predicted reference picture store 317.

The elements of the decoder 123 are similar to the elements of thereconstruction module 231 of FIG. 2 used for decoding.

Note the novel feature that while affine motion parameters may be usedfor the encoding, no affine motion parameters need be sent in thebitstream to decode the picture as a result of the affine motionparameters in the encoder only using information that can be generatedat the decoder.

FIG. 4 shows a flowchart describing a coding method embodiment 400 thatincludes one or more features of the current invention. The method 400includes in 403 receiving a current picture to encode, in 405determining if inter coding or intra coding, in 407, in the case ofintra coding, determining a predicted picture using intra coding; or in409, in the case of inter coding, determining motion vectors and apredicted picture using multi-picture motion compensated predictionbased on one or more predicted reference pictures, one or morepreviously decoded pictures, and the current picture. In particular, forany picture element, e.g., a block or macroblock or other pictureportion, the MCP of element 409 includes searching through all predictedreference pictures to determine a selected, e.g., the best referencepicture for each element, e.g., each block or macroblock. The search,for example, is of a multi-picture store. The motion vectors are to beused by a decoder. The method further includes in 411 determining adifference picture from the predicted picture and the received currentpicture, and in 413 transforming the difference picture and quantizingthe coefficients to determine quantized coefficients, e.g., fortransmission with the motion vectors to a remote endpoint that includesa decoder, or for storing for later decoding.

FIG. 4 also shows a flowchart of a method 420 for determining theinformation for steps 407 and 409 of determining the predicted picturefor the case of intra coding and inter coding, respectively, including,in 415 inverse quantizing and inverse transforming the quantizedcoefficients to determine an unfiltered difference picture and in 417determining a current unfiltered decoded picture. The intra coding usesthe unfiltered decoded picture. For inter coding, determining thepredicted picture includes determining the one or more predictedreference pictures, including in 419 filtering the unfiltered decodedpicture to determine a current decoded picture, and in 421 determiningthe one or more predicted reference pictures from the current decodedpicture and one or more previously decoded pictures, e.g., from adecoded picture store.

Predicting one or a plurality of reference pictures from decodedpictures with a memory configured to store multiple decoded pictured isnow described in more detail. In particular, the operation of element215 (the reference picture predictor of FIG. 2), element 315 (thereference picture predictor of FIG. 3) and element 421 (the step ofdetermining predicted reference picture(s)) is described. Each of theseelements takes in the decoded pictures in a multi-picture decodedpicture buffer and outputs one or multiple predicted reference picturesfor use in predicting pictures. These predicted reference pictures arestored in a predicted reference store. By “reference picture store, orreference picture memory” is meant the combination of the multi-picturedecoded picture buffer and the predicted reference store, which in oneembodiment is a single memory for storing pictures.

For simplicity, the operation of an embodiment of the reference picturepredictor 215 of FIG. 2 is described. One embodiment of the referencepicture predictor 315 is to this embodiment 215, and implements themethod step 421.

FIG. 5 shows a block diagram of one embodiment of the reference picturepredictor 215. The embodiment includes an optical flow analyzer thatuses affine motion model based picture warping, and also includes pixelprediction of uncovered portions of the picture using previously decodedpicture(s).

The predictor 215 includes a picture partitioner 501 configured topartition the current decoded picture into regions. In one embodimentthe regions are rectangular blocks. In another embodiment, the regionsare not limited to being rectangles blocks, but may have arbitraryshape, the partitioning using one or more pre-defined criteria. Suchcriteria may be simple heuristics, or in another embodiment based ondetection of objects, and in yet another embodiment, regions of coherentmotion determined by motion analysis, in which case the picturepractitioner 501 also uses a previously decoded picture from the store213. Such methods of determining regions would be known to those in theart. In yet another embodiment, the current decoded picture ispartitioned into multiple layers as described below.

In the remainder, each region determined by the partitioner 501 is ingeneral termed a block or object or region to indicate it may be a blockor an object or region of arbitrary shape.

The reference picture predictor 215 includes an optical flow analyzercomprising blocks 503, 509, and 511. In more detail, includes an opticalflow map determiner 503 coupled to the region determiner 501 andconfigured to determine one or more block-based or object-based or ingeneral region-based optical maps. The optical flow map determiner 503is coupled to an affine motion analyzer 509 that is configured todetermine a set of affine motion parameters for each block or object orregion for which there is optical flow in the one or more maps.

In one embodiment, as described in more details below, the optical flowmap determiner 503 includes an inter-picture based optical flow mapdeterminer 507 that determines optical flow between the one or morepreviously decoded pictures and the current decoded picture, e.g.,between a block or object or region in the most recent previouslydecoded picture and the corresponding block or object or region in thecurrent decoded picture. In such an embodiment, the picture partitioner501 also is configured to partition the one or more previously decodedpictures from the store 213 used by the inter-picture flow mapdeterminer 507.

In one embodiment, as described in more details below, the optical flowmap determiner 503 further includes an intra-picture based optical flowdeterminer configured to determine an intra-picture optical flow mapwithin the current decoded picture.

Furthermore, some embodiments of reference prediction also includedetermining optical flow on an intra-picture based using only thecurrent decoded picture.

In the case both an intra-picture and an inter-picture optical flow mapare determined, the affine motion analyzer 509 is configured to analyzeboth optical flow maps, either in one embodiment in combined form, or inanother embodiment separately to determine a set of affine motionparameters either for the combined map, or for each map.

A picture warper 511 is configured to apply the affine motion parametersto the current decoded picture to form a warped picture, wherein atleast portions are warped.

Thus, some embodiments of reference picture predictor 215 include aninter-picture optical flow analyzer comprising an inter-picture opticalflow determiner, an affine transform analyzer, and an image warper.Other embodiments of reference picture predictor 215 include anintra-picture optical flow analyzer comprising an intra-picture opticalflow determiner, an affine transform analyzer, and an image warper. Yetother embodiments of reference picture predictor 215 include both anintra-picture optical flow analyzer and an inter-picture optical flowanalyzer.

Some embodiments of reference prediction also include determining motionusing a plurality of past decoded pictures for regions not covered bythe inter-picture flow determination and/or the intra-picture flowdetermination and/or a combination thereof. By a region or block notbeing covered is meant that there is no motion detected in such regionor block. For example, in embodiments in which only the most recentdecoded picture and the current decoded picture is used forinter-picture optical flow determination, in a region in which no motionis detected, there may still be motion but from earlier pictures to thecurrent picture. Determining motion using a plurality of past decodedpictures for regions not covered in order to generate a synthesizedreference picture can improve coding efficiency.

Thus, in one embodiment, in the case one or more parts of the currentdecoded picture are not warped in warper 511, in the case one or moreparts of the current decoded picture are not so covered by either theinter-picture determined map, or the intra-picture determined map, or inanother embodiment, by neither the inter-picture determined map nor theintra-picture determined map, the predicted reference picture determiner215 includes an uncovered region predictor 513 that uses block-basedmotion analysis for the uncovered blocks objects or regions to determineportions of the predicted reference picture. In one embodiment, thepredicted reference picture is a combination of the warped parts and theuncovered parts.

Intra-Picture Analysis by the Intra-Picture Optical Flow Analyzer

The intra-picture flow map determiner 505 is configured to determineflow within a picture, caused, for example, from camera exposure andappearing as motion blur in the picture. One embodiment of theintra-picture flow map determiner 507 uses motion blur analysis todetermine motion blur direction and magnitude for each block or objector region in the current decoded picture.

Determining the optical flow includes, for each block or object orregion of the current decoded picture, determining the direction andextent of the impulse response—the point spread function—that models themotion, e.g., the motion blur.

FIG. 6 shows one embodiment of the intra-picture optical flow determiner505 that for example determines possible motion based on only thecurrent decoded picture. The determiner shown in FIG. 6 is configured tocalculate the optical flow for a block or object or region of currentdecoded picture. In one embodiment, the method using determiner 505 runa set of overlapping image segments. The determiner and associateddetermining method can be divided in two stages: first there is thedetermination of the direction of the velocity vector, and second thecalculation of the magnitude of the velocity vector.

The apparatus and associated method use FFT power spectrum calculation.As would be well known to those in the art, a pre-processor that includeone or both of zero-padding and windowing, e.g., with a Gaussian windowcan improve power spectrum accuracy. These steps are of course optional.In one embodiment, a pre-processor 603 includes both windowing, e.g.,Gaussian windowing and zero-padding. Alternate embodiments use only oneof these, and yet another alternate embodiment does not include thepre-processor 603. One embodiment includes a direction extractor 613configured to accept the (possibly pre-processed) decoded block orobject or region, to determine a power spectrum in power spectrumdeterminer 615, e.g., using the FFT or by some other method, and using aplurality of steerable filters that favor different steerable directionsand determine the direction of the filter that outputs the maximumresponse in a maximum filter output module 617 to determine thedirection of the optical flow.

The use of steerable filters is based on the well-known observation thatthe power spectrum of the blurred image is characterized by a centralripple that goes across the direction of the motion. In order to extractthe direction of the ripple, one could determine how to find the anglein which a filter of the second derivative of a Gaussian functionoriented at that angle would give the highest response. Such filtershave commonly been studied in the field of computer vision, and would beknown to those in the art. Such a filter can be broken down into threebasis filters, so that only the responses of three filters need to bedetermined.

The second stage includes a two-dimensional function (2D) toone-dimensional (1D) function transformer 623 including a power spectrumdimension collapser 625 to generate a 1D power spectrum and a normalizer627 to generate a 1D normalized power spectrum. A magnitude calculator633 is configured to determine the velocity magnitude by determining acepstrum in a cepstrum calculator 635 and a local minimum determiner 637to determine the local minimum to thus determine the velocity magnitudefor the optical map for the decoded picture block or object or region.

The collapsing of the two dimensional spectrum to 1D includes projectingevery pixel in the 2D spectrum into the line that passes through theorigin with the same orientation as the motion blur.

The spectrum is known to be usable in velocity determination for opticalflow determination. The Fourier transform of a motion blur point spreadfunction is typically in the form of a sinc-line ripple, it can beeasily identified by the 1D cepstrum. Negative peaks on the 1D cepstrumprovide an approximation of the velocity.

A method is described by the apparatus of FIG. 6 that straightforwardlyfollows the data flow and steps of the modules of FIG. 6. One aspect isthat the optical flow map determination can operate in parallel for someor all the block or object or region of the picture, including the caseof overlapping regions decomposed into overlapping layers.

Inter-Picture Analysis by the Intra-Picture Optical Flow Analyzer

In one embodiment, the inter-picture optical flow map may beapproximated by the motion vectors using traditional motion estimationmethods.

In an improved embodiment, inter-picture affine prediction includesoptical flow estimation between the current decoded picture and the mostrecent past decoded picture from the decoded picture buffer 213 (in themulti-picture store 211). The analysis on the current decoded pictureand the past decoded picture is to determine affine motion parameters.The affine motion parameters are to calculate a warped version of therecent decoded picture from the multi-picture store 211. Affine motionparameters describe the warping. In practice, the affine motionparameters are assigned to picture segments that are typically largerthan macroblocks. These large picture segments usually partition thepicture non-uniformly.

In such an embodiment, the inter-picture determined warped picture isdetermined at the coder using the following two steps:

-   -   Step 1) Estimation of an affine motion parameter set between the        previous decoded picture and the current decoded picture.    -   Step 2) Affine warping of at least parts of the previous decoded        picture to form a warped picture.

Note that because only a decoded picture is used in the affinetransformations, the same process can operate at the decoder without theneed to send the affine parameters to the decoder.

In a yet further improved version, the current decoded and part decodedpictures are partitioned into a plurality of overlapping layers orderedin depth from backmost layer (the background) to the foremost layer, ina manner analogous to cel animation. Each of the plurality of layersincludes the following functions of position (maps): (1) an intensitymap, e.g., the L-u-v color values, RGB color values, etc., as a functionof position; (2) an alpha map, which defines the opacity or transparencyof the layer at each position, which in one embodiment, is limited to bebinary in that each layer at any point in space is either completelytransparent or completely opaque; and (3) a velocity map, whichdescribes how the map should be warped over time at each position. Forvideo, that is, a sequence of pictures, the velocity maps operate on therespective layers over time. The intensity map and the alpha map arewarped together so that they stay registered. As above for the singlepresent decoded and past picture, when these are decomposed into layers,the velocity maps are affine transformations.

Such optical motion analysis generates a plurality of optical maps, onefor each layer.

In an alternate embodiment, inter-picture multi-picture affineprediction is used to extend motion compensation from the previouslydecoded picture to several past decoded pictures and to predictedreference pictures formed by analysis on the current decoded picture andone or more past decoded pictures, including optical flow estimation onthe current decoded picture and inter coded optical map estimation usingthe current decoded picture and one or more past decoded pictures. Theanalysis on the current decoded picture and one or more past decodedpictures is to determine affine motion parameters and to use thedetermined affine motion parameters to calculate one or more warpedversions of picture(s) from the multi-picture store 211. Such affinemotion parameters describe the warping. In practice, in contrast totranslational motion compensation, affine motion parameters are assignedto picture segments that are typically larger than macroblocks. Theselarge picture segments usually partition the picture non-uniformly. Theencoding proceeds in four steps: (i) estimation of several affine motionparameter sets between the current decoded picture and one or moreprevious pictures, (ii) maintaining in a multi-picture buffer pastdecoded pictures and affine warped pictures, (iii) multi-pictureblock-based hybrid video encoding, and (iv) determination of theefficient number of motion models using optimization techniques, e.g.,using Lagrange multipliers.

The multi-picture store 211 includes a number denoted K of past decodedpictures, and a number denoted N of warped versions of past decodedpictures—the predicted reference pictures. The multi-picture motioncompensated predictor (the version of module 219 of FIG. 2, step 409 ofFIG. 4) conducts block-based motion-compensated prediction using all K+Npictures (such a total denoted M) and produces a motion-compensatedpicture as the selected, e.g., best predicted picture. Thismotion-compensated picture is then used in a standard hybrid videocoder.

In such an embodiment, the N predicted reference pictures are determinedat the coder using the following two steps:

-   -   Step 1) Estimation of N affine motion parameter sets between the        K previous pictures and the current decoded picture.    -   Step 2) Affine warping of N reference pictures of the N pictures        to form N predicted reference pictures.

In one embodiment, the number, denoted M* of efficient referencepictures, where K<M*<K+N=M is determined by evaluating therate-distortion efficiency for each reference picture.

The method includes generating an indication of which M* referencepictures are selected from the multi-picture store 211. Such anindication is either sent to a decoder or stored for later decoding.

Note that because only decoded pictures are used in the affinetransformations, the same process can operate at the decoder without theneed to send the affine parameters to the decoder.

Note also the order of transmission of indication of which referencepictures are used provides an index that is used to specify a particularreference picture on a block basis. The decoder need thus maintain onlythe K previously decoded reference pictures and does not maintain Ncomplete pictures for motion compensation. Rather, for each block ormacroblock that is compensated using affine motion compensation, thetranslational motion vector and affine motion that are determined at thedecoder are combined to obtain the displacement field for that picturesegment.

Processing the Optical Flows

In one embodiment of the invention, the aforementioned two optical flowmaps are combined, e.g., by/in affine motion analyzer element 509 intoone optical flow map, in one embodiment by a weighted average. Affinemotion analysis is conducted on the optical flow map. In anotherembodiment, affine motion analyses may be performed on each individualoptical flow maps, respectively, and the resulting motion parameterscombined to form one affine motion model block or region or object onthe current decoded picture before warping to creating (at least partof) a reference picture. In yet another embodiment, the two optical mapscan be processed completely independently, resulting in two predictedreference pictures.

In the following description, we assume a combined optical flow map. Theprocesses, however, can be applied to multiple optical flow maps withoutmodification. Affine motion analysis of affine motion analyzer 509includes finding the best affine motion model for each block or objector region. In one embodiment, finding the best affine motion model useslinear regression to fitting the optical flow map to an affine motionmodel. This determines a set of affine motion parameters for each blockor object region.

Given the determined (estimated) affine motion parameter set, apredicted reference picture or portion thereof is generated by firstwarping the current decoded picture in picture warper 511. The referencepicture warping is carried out by applying the affine motion parametersto each block or object or region. In one embodiment, pixel values thatcorrespond to non-integer displacement are computed by interpolation.

One embodiment includes uncovered region predictor 513 that isconfigured to determine for the uncovered region of the predictionpicture, pixel values for the predicted reference picture using one ormore long-term reference pictures from the reference picture store 213of previously decoded pictures. In one embodiment, for such pixels thatare not covered by the affine-motion-based picture warping, their valuesin the predicted reference picture are determined in 513 by an average,e.g., a weighted average of selected previously decoded pictures in thelong-term reference memory.

Repeating the process described above, multiple predicted referencepictures can be created by conducting partitioning the current decodedpicture differently, e.g., in layers.

In one embodiment, as described above, there are multiple affine motionestimations for the same moving object, e.g., one from inter-pictureoptical flow and one from intra-picture. While in some embodimentsuncovered region predictor 513 is based on determining a singleuncovered region, in other embodiment, there can be multiple uncoveredregions, each defining a different predicted reference picture. The MCPof element 219 includes searching through all predicted referencepictures, e.g. in multi-picture store 211 to determine a selected, e.g.,the best reference picture for each element, e.g., each block ormacroblock.

By extending long term MCP-based hybrid video to include predictedreference pictures that, e.g., include affine mappings applied using thecurrent and at least one past decoded picture, MCP-based hybrid videocoding can be greatly improved.

So long as the reference prediction process uses only data that would beavailable at the decoder, and so long as the reference predictionprocess operates at both the decoder and at the coder, no bit rateoverhead is needed except that for any indication needed as to howdecoder-available data is used to generate the predicted referencepicture.

Different embodiments include different indication of decoder-available.Such indication forms indicator information that is generated at theencoder and transmitted to a decoder or stored for later decoding by thedecoder.

A first embodiment includes indexing the extended reference picture setto indicate which previously decoded picture(s) are used for theprediction, and storing for decoding and/or sending to the decoder theindex to indicate which previously decoded picture(s) of a multi-picturestore 211 used in both an encoder and decoder are used to generate thepredicted one or more reference pictures.

In another embodiment, the multi-picture buffer includes not onlypreviously encoded pictures, but also one or more additional pictures asa general multi-picture store 211. One such version includes indexingthe extended multi-picture store 211 contents maintained in both theencoder and decoder, and storing for decoding and/or sending to thedecoder the index or other indication to indicate which contents of themulti-picture store 211. So long as the same process that is used togenerate the predicted reference pictures is conducted the same way inthe decoder (see FIG. 3) and in the reconstruction loop 231 of theencoder, no indication is needed for the decoder other than bits toencode the index of the selected picture(s) used and commands issued bythe encoder to notify the decoder on how to organize or reorganize themulti-picture buffer so that is maintained as in the encoder.

Note that in one embodiment, a behavior (a “default action”) is agreedby both the encoder and matching decoder. The encoder is configured toissue commands to notify the decoder on specific actions that differfrom the agreed default action. How to so design an encoder and decoderwould be clear to one of ordinary skill in the art because in thepublished H.264/AVC standard, a similar method is used to maintain amulti-picture store used as a long-term reference picture buffer. Inembodiments of the presented invention, the multi-picture store isextended to include one or more predicted reference pictures (or anotherreference buffer is added to store those predicted pictures), or anyalternate information needed to generate such predicted referencepicture(s).

As an example, in one embodiment, it may be that only one predictedreference picture is generated with each decoded picture, and it isstored or discarded, depending on whether the corresponding decodedpicture is stored or discarded. Note that just as in H.264/AVC compliantcoders, there can be multiple short-term reference pictures, e.g., thepast three decoded pictures, the present invention can include threepredicted pictures. Then, in the decoder, when one of the decodedpictures is moved to the decoded picture buffer 213, as notified by theencoder, the corresponding predicted picture is also moved, and viceversa.

In one such example embodiment, general multi-picture store 211 isconfigured to store in addition to previously encoded pictures, thepredicted reference pictures, so that the multi-picture store 211combines store 213 with store 217.

In another such example embodiment, general multi-picture store 211 isconfigured to also store a background picture as a very long termreference in addition to previously encoded pictures. For example, inone such embodiment, an uncovered region is not necessarily predictedfrom currently available decoded pictures in the multi-picture store211, but from any previously decoded pictures as long as the process isexactly the same at both the encoder and the decoder. For example, thedecoder may run a background registration process that always maintainsthe most recent stationary picture, as determined upon one or morepre-defined stationarity detection criteria being met, as background anduse such background to predict the uncovered regions.

Since the same reference prediction process will be running at both theencoder's reconstruction loop 231 and in the decoder, no bit rateoverhead is needed except that for indexing the extended referencepicture set to indicate which previously decoded pictures or partsthereof, or any one or more elements in the multi-picture store 211 areused for the prediction.

Many indexing methods are possible to indicate which picture(s) of themulti-picture store 211 to use for at the encoder and matching decoder.One such indexing method is described in commonly assigned U.S. patentapplication Ser. No. 12/051,185 to inventors Mauchly et al, titled VIDEOCOMPRESSION USING SEARCH TECHNIQUES OF LONG-TERM REFERENCE MEMORY, thecontents of which are incorporated herein by reference. Embodiments ofthe Mauchly et al. method of U.S. Ser. No. 12/051,185, adapted for thepresent application is using predicted reference pictures and includinga predicted reference picture determiner in the reconstruction loop ofthe encoder, and a similar predicted reference picture determiner in amatching decoder, can reduce the number of reference pictures used foreach MCP element, e.g., each macroblock to provide a further saving onthe bit rate.

One embodiment similar to the method described in U.S. Ser. No.12/051,185 includes classifying each picture in the multi-picture store211 based on a plurality of classifiers. The classifiers may correspondto features that are found in a reference picture. A current to-beencoded picture is analyzed to determine features found in the currentpicture. A feature, for example, is based on an object found in thecurrent frame. Such objects can be found by partitioning using one ofvarious methods, as described hereinabove. As macroblocks in the currentpicture are encoded, a macroblock is analyzed to determine which featuremay be included in the macroblock. The feature is used to determine aclassifier, which is used to determine a subset of the pictures in themulti-picture store 211. The subset is then searched to determine aparticular reference picture for the macroblock. For example, a motionsearch is performed to find a particular reference picture that includesa rectangular block of pixels that matches, e.g., best matches thepixels in the current macroblock. This found reference block isconsidered the best block for motion prediction. The location of thisblock in the particular reference picture, relative to the block in thecurrent picture, is recorded as a motion vector. The macroblock may thenbe encoded using the reference block of the particular referencepicture. This process may be repeated for all macroblocks of the currentpicture. The encoder thus performs less computation than if it hadsearched through all available reference pictures. The encoded pictureis transmitted to a decoder or stored for later decoding. An identifieris used to identify each determined particular reference picture thatwas used to decode the macroblocks of the picture. The identifier isstored for later use by a decoder, or sent to the decoder, and allowsthe decoder to retrieve the particular reference picture from amulti-picture store 211 maintained in the decoder. The particularreference picture may then be used to decode the macroblock. As anexample applicable to one embodiment of the present invention in whichaffine motion analysis and warping is used to determine at least part ofthe current decoded picture, and in which one or more previously codedpictures are used to encode the uncovered parts, and the predictedreference picture is a combination of the warped parts and the uncoveredparts, the indication is of which previously encoded picture(s) is/areused to generate the uncovered parts of the predicted picture.Furthermore, in one alternate, or in addition, the indication sent tothe decoder—or stored for later use by the decoder—is of a predictedone.

In one version of U.S. Ser. No. 12/051,185, usable for example invideoconferencing, the object includes a feature of a human body. Inparticular, wherein a feature may be based on a portion of the objectfound in the picture.

In one version, the identifier is used to determine the particularpicture in the subset of the pictures in the multi-picture store 211based on a position in the subset of reference pictures determined andnot the position in all of the stored pictures in the subset of thepictures in the multi-picture store 211.

The encoder determines the identifier by performing the determination ofthe subset of the pictures in the multi-picture store 211 that thedecoder performs and determines the position in the subset of thepictures in the multi-picture store 211 for the particular referencepicture.

While one embodiment combines inter-picture determined optical flow andintra-picture optical flow, another simpler embodiment includes onlyinter-picture determined optical flow.

It should be appreciated that while not many details have been providedherein on the operation of transform and quantizer module 205,corresponding block 413 of the flowchart of FIG. 4, and the inversequantizer and inverse transform elements 207 and 307, and correspondingprocess step 415, how to implement such elements would be clear to thosein the art. One embodiment uses a transformer and quantizer (andmatching inverses) substantially as described in the H.264/AVC standard.Other embodiments use a transformer and quantizer substantially asdescribed in the Chinese AVS standard described inwww˜dot˜avs˜dot˜org˜dot˜cn/en/ (retrieved 16 Mar. 2009) where dotdenotes the period “.” in the actual URL. Yet another is as described inMPEG-2. Yet another is a described by ITU recommendation H.263. Theinvention is not limited to any particular hybrid coding method, and canreadily be incorporated in many such methods, whether defined by apublished standard, or not.

Unless specifically stated otherwise, as apparent from the followingdiscussions, it is appreciated that throughout the specificationdiscussions utilizing terms such as “processing,” “computing,”“generating”, “calculating,” “determining” or the like, refer to theaction and/or processes of an apparatus element, or of an computer orcomputing system, or similar electronic computing device, thatmanipulate and/or transform data represented as physical, such aselectronic, quantities into other data similarly represented as physicalquantities.

In a similar manner, the term “processor” may refer to any device orportion of a device that processes electronic data, e.g., from registersand/or memory to transform that electronic data into other electronicdata that, e.g., may be stored in registers and/or memory. A “computer”or a “computing machine” or a “computing platform” may include one ormore processors.

Note that when a method is described that includes several elements,e.g., several steps, no ordering of such elements, e.g., of such stepsis implied, unless specifically stated.

In the description herein, as is common, the terms coding and encodingare used interchangeably.

The methodologies described herein are, in one embodiment, performableby one or more processors that accept computer-readable (also calledmachine-readable) logic in some embodiments encoded on one or moretangible computer-readable storage media containing a set ofinstructions that when executed by one or more of the processors carryout at least one of the methods described herein, while in otherembodiments encoded as hardware elements with or without programmableelement(s). In the case of instructions, any processor capable ofexecuting a set of instructions (sequential or otherwise) that specifyactions to be taken are included. Thus, one example is a typicalprocessing system that includes one or more processors. Each processormay include one or more of a CPU, a graphics processing unit (GPU), anda programmable DSP unit. The processing system further may include amemory subsystem including main RAM and/or a static RAM, and/or ROM. Abus subsystem may be included for communicating between the components.The processing system further may be a distributed processing systemwith processors coupled by a network. If manual data entry is required,the processing system also includes an input device such as one or moreof an alphanumeric input unit such as a keyboard, a pointing controldevice such as a mouse, and so forth. The term memory unit as usedherein, if clear from the context and unless explicitly statedotherwise, also encompasses a storage system such as a disk drive unit.The processing system in some configurations may include a sound outputdevice, and a network interface device. The memory subsystem thusincludes a computer-readable carrier medium that carries logic (e.g.,software) including a set of instructions to cause performing, whenexecuted by one or more processors, one of more of the methods describedherein. The software may reside in the hard disk, or may also reside,completely or at least partially, within the RAM and/or within theprocessor during execution thereof by the computer system. Thus, thememory and the processor also constitute computer-readable carriermedium on which is encoded logic, e.g., in the form of instructions.

Furthermore, a computer-readable storage medium may form, or be includedin a computer program product that is an article of manufacture by beingconfigured during manufacture to incorporate the code, and in someversions to also incorporate one or more processing elements therewith.

In alternative embodiments, the one or more processors operate as astandalone device or may be connected, e.g., networked to otherprocessor(s), in a networked deployment, the one or more processors mayoperate in the capacity of a server or a client machine in server-clientnetwork environment, or as a peer machine in a peer-to-peer ordistributed network environment. The one or more processors may form aset-top box (STB), a terminal interface for a teleconferencing terminal,a web appliance, or be in a network router, switch or bridge, or anymachine capable of executing a set of instructions (sequential orotherwise) that specify actions to be taken by that machine.

Note that while some diagram(s) only show(s) a single processor and asingle memory that carries the logic including instructions, those inthe art will understand that many of the components described above areincluded, but not explicitly shown or described in order not to obscurethe inventive aspect. For example, while only a single machine isillustrated, the term “machine” shall also be taken to include anycollection of machines that individually or jointly execute a set (ormultiple sets) of instructions to perform any one or more of themethodologies discussed herein.

Thus, one embodiment of each of the methods described herein is in theform of a computer-readable storage medium configured with a set ofinstructions, e.g., a computer program that are for execution on one ormore processors, e.g., one or more processors that are part of a coder,a decoder, or a codec. In one embodiment, the modules of FIG. 2 and/orof FIG. 3 include the processing elements and respective portions of thestorage subsystems shown in FIG. 1B that include respective portions ofcode that when executed cause the functions of the elements of FIG. 2 orFIG. 4, and/or FIG. 3 to be performed. In alternate embodiments, themodules of the apparatuses shown in FIG. 2 and/or FIG. 3 include specialpurpose hardware configured to perform the herein described functions.Note those in the art understand how a computer program for performing aprocessing function can be used to automatically design the appropriateset of logic gates of such special purpose hardware, e.g., evenautomatically by compiling software descriptions to implement thehardware design that can then be fabricated as hardware. Thus, as willbe appreciated by those skilled in the art, embodiments of the presentinvention may be embodied as a method, an apparatus such as a specialpurpose apparatus, an apparatus such as a data processing system, or atangible computer-readable storage medium, e.g., a computer programproduct. The computer-readable storage medium stores logic, e.g., in theform of sets of instructions that when executed on one or moreprocessors cause a processor or processors to implement the elementsdescribed herein, or in the form of logic circuits. Accordingly,alternate embodiments of the present invention may take the form of amethod, an entirely hardware embodiment, an entirely software embodimentor an embodiment combining software and hardware aspects. Furthermore,some embodiments of the present invention may take the form of atangible computer-readable storage medium that include computer-readableprogram code embodied in the medium.

While the storage medium is shown in an example embodiment to be asingle medium, the term “storage medium” should be taken to include asingle medium or multiple storage media (e.g., a centralized ordistributed database, and/or associated caches and servers) that storethe one or more sets of instructions. A storage medium may take manyforms, including but not limited to, non-volatile media and volatilemedia. Non-volatile media includes, for example, optical, magneticdisks, and magneto-optical disks. Volatile media includes dynamicmemory, such as main memory. For example, the term “storage medium”shall accordingly be taken to include, but not be limited to, in one setof embodiment, a tangible computer-readable storage medium, e.g., asolid-state memory, or a computer software product—encoded incomputer-readable optical or magnetic media forming an article ofmanufacture.

It will be understood that the steps of methods discussed are performedin one embodiment by an appropriate processor (or processors) of aprocessing (i.e., computer) system executing instructions stored instorage. It will also be understood that embodiments of the presentinvention are not limited to any particular implementation orprogramming technique and that the invention may be implemented usingany appropriate techniques for implementing the functionality describedherein. Furthermore, embodiments are not limited to any particularprogramming language or operating system.

Reference throughout this specification to “one embodiment” or “anembodiment” means that a particular feature, structure or characteristicdescribed in connection with the embodiment is included in at least oneembodiment of the present invention. Thus, appearances of the phrases“in one embodiment” or “in an embodiment” in various places throughoutthis specification are not necessarily all referring to the sameembodiment, but may. Furthermore, the particular features, structures orcharacteristics may be combined in any suitable manner, as would beapparent to one of ordinary skill in the art from this disclosure, inone or more embodiments.

Similarly it should be appreciated that in the above description ofexample embodiments of the invention, various features of the inventionare sometimes grouped together in a single embodiment, figure, ordescription thereof for the purpose of streamlining the disclosure andaiding in the understanding of one or more of the various inventiveaspects. This method of disclosure, however, is not to be interpreted asreflecting an intention that the claimed invention requires morefeatures than are expressly recited in each claim. Rather, as thefollowing claims reflect, inventive aspects lie in less than allfeatures of a single foregoing disclosed embodiment. Thus, the claimsfollowing the DESCRIPTION OF EXAMPLE EMBODIMENTS are hereby expresslyincorporated into this DESCRIPTION OF EXAMPLE EMBODIMENTS, with eachclaim standing on its own as a separate embodiment of this invention.

Furthermore, while some embodiments described herein include some butnot other features included in other embodiments, combinations offeatures of different embodiments are meant to be within the scope ofthe invention, and form different embodiments, as would be understood bythose in the art. For example, in the following claims, any of theclaimed embodiments can be used in any combination.

Furthermore, some of the embodiments are described herein as a method orcombination of elements of a method that can be implemented by aprocessor of a computer system or by other means of carrying out thefunction. Thus, a processor with the necessary instructions for carryingout such a method or element of a method forms a means for carrying outthe method or element of a method. Furthermore, an element describedherein of an apparatus embodiment is an example of a means for carryingout the function performed by the element for the purpose of carryingout the invention.

In the description provided herein, numerous specific details are setforth. However, it is understood that embodiments of the invention maybe practiced without these specific details. In other instances,well-known methods, structures and techniques have not been shown indetail in order not to obscure an understanding of this description.

As used herein, unless otherwise specified the use of the ordinaladjectives “first”, “second”, “third”, etc., to describe a commonobject, merely indicate that different instances of like objects arebeing referred to, and are not intended to imply that the objects sodescribed must be in a given sequence, either temporally, spatially, inranking, or in any other manner.

All patents, and U.S. patent applications cited herein are herebyincorporated by reference.

Any discussion of prior art in this specification should in no way beconsidered an admission that such prior art is widely known, is publiclyknown, or forms part of the general knowledge in the field.

In the claims below and the description herein, any one of the termscomprising, comprised of or which comprises is an open term that meansincluding at least the elements/features that follow, but not excludingothers. Thus, the term comprising, when used in the claims, should notbe interpreted as being limitative to the means or elements or stepslisted thereafter. For example, the scope of the expression a devicecomprising A and B should not be limited to devices consisting only ofelements A and B. Any one of the terms including or which includes orthat includes as used herein is also an open term that also meansincluding at least the elements/features that follow the term, but notexcluding others. Thus, including is synonymous with and meanscomprising.

Similarly, it is to be noticed that the term coupled, when used in theclaims, should not be interpreted as being limitative to directconnections only. The terms “coupled” and “connected,” along with theirderivatives, may be used. It should be understood that these terms arenot intended as synonyms for each other. Thus, the scope of theexpression a device A coupled to a device B should not be limited todevices or systems wherein an output of device A is directly connectedto an input of device B. It means that there exists a path between anoutput of A and an input of B; such a path may include other devices ormeans. “Coupled” may mean that two or more elements are either in directphysical or electrical contact, or that two or more elements are not indirect contact with each other but yet still co-operate or interact witheach other.

Thus, while there has been described what are believed to be thepreferred embodiments of the invention, those skilled in the art willrecognize that other and further modifications may be made theretowithout departing from the spirit of the invention, and it is intendedto claim all such changes and modifications as fall within the scope ofthe invention. For example, any formulas given above are merelyrepresentative of procedures that may be used. Functionality may beadded or deleted from the block diagrams and operations may beinterchanged among functional blocks. Steps may be added or deleted tomethods described within the scope of the present invention.

1. An apparatus comprising: a forward coder configured to accept acurrent picture of a video sequence and to determine quantized transformcoefficients of a difference picture; and a reconstruction moduleincluding a multi-picture store for storing previously decoded pictures,the reconstruction module configured to accept the quantized transformcoefficient and to determine a predicted picture from one or morepreviously decoded pictures in the multi-picture store, wherein thereconstruction module further includes: a reference picture predictorthat uses one or more previously decoded picture(s) to determine one ormore predicted reference pictures; and a motion compensated predictorconfigured to determine a motion compensated prediction picture and anymotion vectors from the one or a plurality of the one or more predictedreference pictures, such that the forward coder uses the current pictureand the motion compensated prediction picture to determine thedifference picture.
 2. An apparatus as recited in claim 1, wherein thereference picture predictor includes an optical flow analyzer that usesa current decoded picture and that may use one or more previouslydecoded pictures to predict motion in a first set of one or more partsof a current decoded picture, combined with affine motion analysis andimage warping to determine at least a portion of at least one referencepicture, wherein affine motion parameters determined by the affinemotion analysis are not transmitted to a decoder or stored for laterdecoding.
 3. An apparatus as recited in claim 2, wherein the referencepicture predictor further includes, for one or more portions uncoveredby the optical flow analyzer, a predictor configured to predict theuncovered one or more portions using one or more previously decodedpictures, such that the at least one predicted reference pictureincludes the uncovered region predicted using the previously decodedpicture and at least a portion determined by the optical flow analyzer.4. An apparatus as recited in claim 2, wherein the optical flow analyzerincludes an intra-picture optical flow analyzer that uses the presentdecoded picture to predict motion in a first set of one or more parts ofa current decoded picture combined with affine motion analysis and imagewarping to determine at least a corresponding first set of one or moreparts of at least one of the reference pictures.
 5. An apparatus asrecited in claim 4, wherein the optical flow analyzer further includesan inter-picture optical flow analyzer that uses the present decodedpicture and one or more previously decoded pictures to predict motion ina second set of one or more parts of a current decoded picture combinedwith affine motion analysis and image warping to determine at least acorresponding second set of one or more of at least one of the referencepictures, such that inter-picture optical flow analysis andintra-picture optical flow analysis are both used.
 6. An apparatus asrecited in claim 2, wherein the optical flow analyzer includes aninter-picture optical flow analyzer that uses the present decodedpicture and one or more previously decoded pictures to predict motion ina second set of one or more parts of a current decoded picture combinedwith affine motion to predict motion in one or more picture parts of acurrent decoded picture combined with affine motion analysis and imagewarping to determine at least corresponding one or more parts of atleast one of the reference pictures.
 7. An apparatus as recited in claim2, wherein the multi-picture store includes a buffer configured to storeone or more predicted reference pictures.
 8. An apparatus as recited inclaim 2, further comprising at least one or more processors, and atleast one storage medium configured with instructions that whenimplemented, carry out the functions of the forward coder and thereconstruction module.
 9. A method comprising: accepting a currentpicture for decoding: determining blocks of a difference picture fromthe accepted current picture and motion compensated predicted pictureblocks; transforming and quantizing the blocks of a difference pictureto determine quantized transform coefficients being for inclusion in acoded bitstream; predicting one or more predicted reference picturesusing one or more previously decoded pictures stored in a multi-picturestore and the quantized transform coefficients; determining the motioncompensated predicted picture blocks and motion vectors therefor fromthe quantized transform coefficients and at least one of the predictedreference pictures, the determined motion vectors being for inclusion inthe coded bitstream, wherein determining a motion compensated predictedpicture block includes searching through the predicted referencepictures to determine a selected predicted reference picture for theblock.
 10. A method as recited in claim 9, wherein the predicting one ormore predicted reference pictures includes optical flow analyzing thatuses a current decoded picture and that may use one or more previouslydecoded pictures to predict motion in a set of one or more parts of acurrent decoded picture, combined with affine motion analyzing and imagewarping for determining at least a portion of at least one predictedreference picture, wherein affine motion parameters determined by theaffine motion analysis are not transmitted to a decoder or stored forlater decoding.
 11. A method as recited in claim 10, wherein thereference picture predicting further includes, for one or more portionsuncovered by the affine motion analyzing, predicting the uncovered oneor more portions using one or more previously decoded pictures, suchthat the at least one predicted reference picture includes the uncoveredregion predicted using the previously decoded picture and the at least aportion determined by the optical flow analyzing.
 12. A method asrecited in claim 10, wherein the optical flow analyzing includesintra-picture optical flow analyzing that uses the present decodedpicture to predict motion in a first set of one or more parts of acurrent decoded picture combined with the affine motion analyzing andthe image warping to determine at least corresponding first set of oneor more parts of at least one of the reference pictures.
 13. A method asrecited in claim 12, wherein the optical flow analyzing further includesinter-picture optical flow analyzing that uses the present decodedpicture and one or more previously decoded pictures to predict motion ina second set of one or more parts of a current decoded picture combinedwith affine motion analyzing and image warping to determine at leastcorresponding second set of one or more of at least one of the referencepictures, such that inter-picture optical flow analyzing andintra-picture optical flow analyzing are both used.
 14. A method asrecited in claim 10, wherein the optical flow analyzing includesinter-picture optical flow analyzing that uses the present decodedpicture and one or more previously decoded pictures to predict motion inone or more picture parts of a current decoded picture combined withaffine motion analysis and image warping to determine at leastcorresponding one or more parts of at least one of the referencepictures.
 15. A method as recited in claim 10, further comprisingstoring the one or more predicted reference pictures in themulti-picture store, such that the searching searches the multi-picturestore.
 16. A method as recited in claim 15, further comprising sendingan indication of which elements in the multi-picture store are used forthe predicting and for the selected reference picture.
 17. An apparatuscomprising: an input module configured to accept a coded bitstream andto generate quantized transform coefficients and motion vectors from thecoded bitstream, an inverse quantizer/inverse transformer configured toaccept the quantized coefficients and generate a decoded differencepicture; a summer configured to determine a decoded picture from amotion compensated predicted picture and the decoded difference picture;a multi-picture store for storing previously decoded pictures; areference picture predictor coupled to the multi-picture store andconfigured to determine one or more predicted reference pictures usingone or more previously decoded pictures; and a motion compensatedpredictor configured to determine the motion compensated predictionpicture from one or a plurality of the one or more predicted referencepictures, and the motion vectors.
 18. An apparatus as recited in claim17, wherein the reference picture predictor includes an optical flowanalyzer that uses a current decoded picture and that may use one ormore previously decoded pictures to predict motion in a first set of oneor more parts of a current decoded picture, combined with affine motionanalysis and image warping to determine at least a portion of at leastone reference picture.
 19. An apparatus as recited in claim 18, whereinthe reference picture predictor further includes, for one or moreportions uncovered by the optical flow analyzer, a predictor configuredto predict the uncovered one or more portions using one or morepreviously decoded pictures, such that the at least one predictedreference picture includes the uncovered region predicted using thepreviously decoded picture and the at least a portion determined by theoptical flow analyzer.
 20. An apparatus as recited in claim 19, whereinthe optical flow analyzer includes an intra-picture optical flowanalyzer that uses the present decoded picture to predict motion in afirst set of one or more parts of a current decoded picture combinedwith affine motion analysis and image warping to determine at least acorresponding first set of one or more parts of at least one of thereference pictures.
 21. An apparatus as recited in claim 19, wherein theoptical flow analyzer includes an inter-picture optical flow analyzerthat uses the present decoded picture and one or more previously decodedpictures to predict motion in a second set of one or more parts of acurrent decoded picture combined with affine motion to predict motion inone or more picture parts of a current decoded picture combined withaffine motion analysis and image warping to determine at leastcorresponding one or more parts of at least one of the referencepictures.
 22. An apparatus comprising: one or more processors; a storagesubsystem including a multi-picture store configured to store aplurality of pictures, the storage subsystem is further configured witha set of instructions that when executed by one or more of theprocessors cause the apparatus to: accept a current picture fordecoding; determine blocks of a difference picture from the acceptedcurrent picture and motion compensated predicted picture blocks;transform and quantize the blocks of a difference picture to determinequantized transform coefficients being for inclusion in a codedbitstream; predict one or more predicted reference pictures using one ormore previously decoded pictures stored in a multi-picture store and thequantized transform coefficients; and determine the motion compensatedpredicted picture blocks and motion vectors therefor from the quantizedtransform coefficients and at least one of the predicted referencepictures, the determined motion vectors being for inclusion in the codedbitstream, wherein determining a motion compensated predicted pictureblock includes searching through the predicted reference pictures todetermine a selected predicted reference picture for the block, andwherein the predicting one or more predicted reference pictures includesoptical flow analyzing that uses a current decoded picture and that mayuse one or more previously decoded pictures to predict motion in a setof one or more parts of a current decoded picture, combined with affinemotion analyzing and image warping for determining at least a portion ofat least one predicted reference picture, wherein affine motionparameters determined by the affine motion analysis are not transmittedto a decoder or stored for later decoding.
 23. An apparatus comprising:one or more processors; a storage subsystem including a multi-picturestore configured to store a plurality of decoded pictures, the storagesubsystem is further configured with a set of instructions that whenexecuted by one or more of the processors cause the apparatus to: accepta coded bitstream and to generate quantized transform coefficients andmotion vectors from the coded bitstream, accept the quantizedcoefficients and generate a decoded difference picture by a process thatincludes inverse quantizing and inverse transforming; determine adecoded picture from a motion compensated predicted picture and thedecoded difference picture; predict one or more predicted referencepictures using one or more previously decoded pictures stored in themulti-picture store; determine the motion compensated prediction picturefrom one or a plurality of the one or more predicted reference pictures,and the motion vectors, wherein the predicting one or more predictedreference pictures includes optical flow analyzing that uses a currentdecoded picture and that may use one or more previously decoded picturesto predict motion in a set of one or more parts of a current decodedpicture, combined with affine motion analyzing and image warping fordetermining at least a portion of at least one predicted referencepicture.